// @flow
import axios from 'lib/apiClient';
import { type ClassifySimple } from 'store/modules/things';

export const getClassify = (userid: string): Promise<*> =>
  axios.post('/auth/send-window-name', { userid });
export const changeClassify = (payload: ClassifySimple): Promise<*> =>
  axios.post('/auth/send-window-name', payload);
